package com.fau.wmbj.server.flowable.service;


import com.fau.wmbj.server.flowable.entity.ActHiProcinst;
import com.fau.wmbj.server.service.base.BaseService;

import java.util.List;

/**
 * 流程实例Service接口
 */
public interface ActHiProcinstService extends BaseService<ActHiProcinst, Long> {

    /**
     * 按照业务id查询
     *
     * @param businessKeys 业务id
     * @return 结果
     */
    List<ActHiProcinst> selectByBusinessKeyIn(List<String> businessKeys);

    /**
     * 按照业务id查询
     *
     * @param businessKey 业务id
     * @return 结果
     */
    ActHiProcinst selectByBusinessKey(String businessKey);
}
